import {get, post, del, put} from "@/apis/http/request";
import {CronTriggersSynchroTime} from "@/apis/model/system/CronTriggersSynchroTimeModel";

/**
* 得到列表
* @param params
*/
export const getCronTriggersSynchroTimeList = (params: any) => get("/cronTriggersSynchroTime/list", params)

/**
* 得到分页列表
* @param params
*/
export const cronTriggersSynchroTimePage = (params: any) => post("/cronTriggersSynchroTime/page", params)

/**
* 删除数据
* @param id
* @returns
*/
export const deleteCronTriggersSynchroTimeById = (id: number) => del("/cronTriggersSynchroTime/delete/"+ id)

/**
* 新增数据
* @param param
*/
export const insertCronTriggersSynchroTime = (param: CronTriggersSynchroTime) => post("/cronTriggersSynchroTime", param)

/**
* 更新数据
* @param param
*/
export const updateCronTriggersSynchroTime = (param: CronTriggersSynchroTime) => put("/cronTriggersSynchroTime", param)